<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Writes frames to a filehandle</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="imagick.writeimages.html">« Imagick::writeImages</a></li>
      <li style="float: right;"><a href="class.imagickdraw.html">ImagickDraw »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="class.imagick.html">Imagick</a></li>
    <li>Writes frames to a filehandle</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="imagick.writeimagesfile" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Imagick::writeImagesFile</h1>
  <p class="verinfo">(PECL imagick 2 &gt;= 2.3.0, PECL imagick 3)</p><p class="refpurpose"><span class="refname">Imagick::writeImagesFile</span> &mdash; <span class="dc-title">Writes frames to a filehandle</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-imagick.writeimagesfile-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>Imagick::writeImagesFile</strong></span>(<span class="methodparam"><span class="type">resource</span> <code class="parameter">$filehandle</code></span>, <span class="methodparam"><span class="type">string</span> <code class="parameter">$format</code><span class="initializer"> = ?</span></span>): <span class="type">bool</span></div>


  <p class="para rdfs-comment">
   Writes all image frames into an open filehandle. This method can be used to write
   animated gifs or other multiframe images into open filehandle.
   此方法在Imagick基于ImageMagick 6.3.6以上版本编译时可用。
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-imagick.writeimagesfile-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>
    
     <dt>
<code class="parameter">filehandle</code></dt>

     <dd>

      <p class="para">
       Filehandle where to write the images.
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">format</code></dt>

     <dd>

      <p class="para">
       The image format.
       The list of valid format specifiers depends on the compiled feature set of
       ImageMagick, and can be queried at runtime via <span class="methodname"><a href="imagick.queryformats.html" class="methodname">Imagick::queryFormats()</a></span>.
      </p>
     </dd>

    
   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-imagick.writeimagesfile-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   成功时返回 <strong><code>true</code></strong>。
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-imagick.writeimagesfile-seealso">
  <h3 class="title">参见</h3>
  <ul class="simplelist">
   <li class="member"><span class="methodname"><a href="imagick.queryformats.html" class="methodname" rel="rdfs-seeAlso">Imagick::queryFormats()</a> - Returns formats supported by Imagick</span></li>
  </ul>
 </div>

</div></div></div></body></html>